<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
      let data = [
          {title: '这是一条新闻信息', read: 900},
          {title: '这是一条新闻信息', read: 900},
          {title: '这是一条新闻信息', read: 900},
          {title: '这是一条新闻信息', read: 900},
          {title: '这是一条新闻信息', read: 900},
          {title: '这是一条新闻信息', read: 900},
          {title: '这是一条新闻信息', read: 900},
      ]
      window.onload = function(){
          var oUl = document.querySelector('#ul1');
          for(let i = 0; i< data.length; i++) {
              let oLi = document.createElement('li');
              oLi.innerHTML = `<span>${data[i].title}</span>
            <span>阅读人数：${data[i].read}</span>
            <a href="javascript:;">查看详情</a>`
            oUl.appendChild(oLi);
          }
      }
    </script>
</head>
<body>
    <ul id="ul1">
        <!-- <li>
            <span>这是新闻标题</span>
            <span>阅读人数：10</span>
            <a href="javascript:;">查看详情</a>
        </li> -->
    </ul>
</body>
</html>